package ooday01.hoemwork;

public class ExtendsTest {
    public static void main(String[] args) {
        Student yq=new Student("yangqian",35,"SX","jsd2505","abc");
        yq.eat();
        yq.sleep();
        yq.sayHi();
        yq.study();
        Teacher1 t=new Teacher1("asd",15,"asdsaas","asdas");
        t.eat();
        Teacher b=new Teacher();
        b.eat();




        Doctor mm=new Doctor("meimei",20,"HN","主治医师");
        mm.eat();
        mm.sleep();
        mm.sayHi();
        mm.cut();


        }
    }

